layoutmanager: Fix the child-widget property
authorMatthias Clasen <mclasen@redhat.com>
Fri, 21 Aug 2020 18:29:14 +0000 (14:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Aug 2020 18:29:14 +0000 (14:29 -0400)
We were setting the child-widget property to the parent.
Oops.

gtk/gtklayoutmanager.c

index 547c76bbdf99306540cf01366a3564aff4474d66..d0e4037b2fd8f31bfb46d723adc5c10a60900814 100644 (file)
@@ -195,7 +195,7 @@ gtk_layout_manager_real_create_layout_child (GtkLayoutManager *manager,
 
   return g_object_new (manager_class->layout_child_type,
                        "layout-manager", manager,
-                       "child-widget", widget,
+                       "child-widget", child,
                        NULL);
 }